package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模块对象 deep_module
 *
 * @author 任伟伟
 * @date 2022-12-10
 */
public class DeepModule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    private Long moduleId;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private String moduleName;

    private String moduleType;//module_type
    private String dataType;//data_type 数据类型
    private String dataTypeName;//
    /** 模块编码 */
    @Excel(name = "模块编码")
    private String moduleCode;

    /** 状态：（0正常 1停用） */
    @Excel(name = "状态：", readConverterExp = "0=正常,1=停用")
    private Integer status;

    /** 模块文件存储bucket */
    @Excel(name = "模块文件存储bucket")
    private String bucket;


    ////////////////////////////////


    public String getDataTypeName() {
        return dataTypeName;
    }

    public void setDataTypeName(String dataTypeName) {
        this.dataTypeName = dataTypeName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }
    public void setModuleName(String moduleName)
    {
        this.moduleName = moduleName;
    }

    public String getModuleName()
    {
        return moduleName;
    }
    public void setModuleCode(String moduleCode)
    {
        this.moduleCode = moduleCode;
    }

    public String getModuleCode()
    {
        return moduleCode;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setBucket(String bucket)
    {
        this.bucket = bucket;
    }

    public String getBucket()
    {
        return bucket;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moduleId", getModuleId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("moduleName", getModuleName())
            .append("moduleCode", getModuleCode())
            .append("status", getStatus())
            .append("bucket", getBucket())
            .toString();
    }
}
